/* -------------------------------- FILE HEADER ------------------------------
//
// Copyright(c) 2001-2004 One2Three4 Corp. All Rights Reserved.
//
// File        : SafeOleCtrl.h
//
// Project     : Library.
//
// Description : Header file for the class CSafeOleCtrl.
//               
//
// History     : 
//               11-18-2004 Created. By RedTom.
//               
//
// -------------------------------------------------------------------------*/

#ifndef _SAFEOLECTRL_H_
#define _SAFEOLECTRL_H_

#include <objsafe.h>
#include <afxctl.h>

/////////////////////////////////////////////////////////////////////////////

class CSafeOleControl : public COleControl
{
    

	DECLARE_INTERFACE_MAP()

	BEGIN_INTERFACE_PART(ObjSafe, IObjectSafety)
		STDMETHOD_(HRESULT, GetInterfaceSafetyOptions) ( 
            /* [in] */ REFIID riid,
            /* [out] */ DWORD __RPC_FAR *pdwSupportedOptions,
            /* [out] */ DWORD __RPC_FAR *pdwEnabledOptions
		);
        
        STDMETHOD_(HRESULT, SetInterfaceSafetyOptions) ( 
            /* [in] */ REFIID riid,
            /* [in] */ DWORD dwOptionSetMask,
            /* [in] */ DWORD dwEnabledOptions
		);
	END_INTERFACE_PART(ObjSafe);

};

#endif//(_SAFEOLECTRL_H_)
